package me.itsoo.artemis.framework.core.eventbus;

/**
 * SubscriberB
 *
 * @author zxy
 * @version 0.0.1
 * @since 2023/6/14
 */
@SubscriberTopic("test_A")
public class SubscriberB implements Subscriber<TestEvent1> {

    @Override
    public void listen(Event<TestEvent1> event) {
        TestEvent1 source = event.getSource();
        System.out.println("SubscriberB >>>> " + source);
    }
}
